by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

Laravel 5.6 is scheduled to be released in February 2018, what changes? Let's see.

1. In Laravel 5.6, Argon2i password hashing algorithm will be supported. (Argon2i Password Hashing Algorithm)
Argon2 is available in three versions:
1. Argon2d resists GPU cracking attacks to the greatest extent.
2. Argon2i is optimized to resist side-channel attacks.
3. Argon2id is a hybrid version, the above two versions are mixed.

It doesn't matter if you don't understand it, I don't understand it anyway, the point is, it's safe to be sure anyway.
This is in the Open Cryptography Competition (PHC), designed by Alex Biryukov, Daniel Dinu and Dmitry Khovratovich on July 20, 2015, and finally selected as the PCH winner. The goal of the Open Cryptography Competition (PHC) is Select more cryptographic hash functions that can be recognized as standard.

The old bcrypt will continue to be supported and will remain as the default. After the official release of Laravel 5.6,
If you're using a new project it's worth considering switching to Argon2i.

Second, there are new Blade Directives in Laravel 5.6.
5.5 hours
{{ csrf_field() }} {{ method_field('PUT') }}
After 5.6, you can use the directives as follows, which is even simpler.
@method('put') @csrf
3. Laravel 5.6 will remove the artisan optimzie command.
You may have noticed that in 5.5, after entering php artisan, you will see that the command has been listed as deprecated
Help:
Optimize the framework for better performance ( deprecated )

Since PHP 7 implements PHP op-code caching, this command is no longer needed.

As an aside, the current fpm image used by D-Laravel has also compiled opcache.so, and it can be used after adding it to php.ini.
If you want to use Xdebug and OPCache together, you must load Xdebug after OPCache.

For example: below.
extension=opcache.so
extension=xdebug.so

In addition, the latest php version 7.2.1 image does not support xdebug, so you cannot use the xdebug.so extension function in php version 7.2.1.

Tags: laravel

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel

How to use Laravel's Validator to customize error messages

When we usually develop Laravel, sometimes field validation is performed, but the default message using Validator is in English. But of course I want to have a more accurate display of Chinese message display, This article describes how I use Laravel's Validator to customize Chinese messages.

laravel

How do I upgrade the backend to Lravel 5.5

At the beginning, my background was a framework created by myself, which also uses MVC architecture, database connections and environment configuration files made by myself, including my own template syntax, until I want to support Restful, I have an idea, why should I rewrite the same function myself after others have written it, would it be better to write it out? So I started to use the framework, At the beginning, Slim was adopted mainly because it supports a lower version of php, but because Slim's twig templates are not as easy to use as Laravel's blade template...

dlaravel

D-laravel has added the recommended opcache.ini settings

The latest version of D-Laravel has added opcache's recommended settings. The enabling method is very simple, please execute it in the D-Laravel directory.